From 71f240bf5c5f96506830fa7401b16d7a8bd5248c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Thu, 7 Sep 2006 10:12:51 +0000 Subject: [PATCH] * dnd.el: Fix bootstrapping --- lisp/ChangeLog | 6 +++++- lisp/dnd.el | 3 +-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5123ee34c26..3ab923d6dad 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,4 +1,8 @@ -2006-09-07 Jan Dj,Ad(Brv +2006-09-07 Jan Dj,Ad(Brv + + * dnd.el: Fix bootstrapping. + +2006-09-07 Jan Dj,Ad(Brv * dnd.el (dnd-protocol-alist): Add what url-handler-mode can handle. (dnd-open-remote-url): New function. diff --git a/lisp/dnd.el b/lisp/dnd.el index 18a98957032..f1e1c6b1b9e 100644 --- a/lisp/dnd.el +++ b/lisp/dnd.el @@ -34,8 +34,6 @@ ;;; Customizable variables -(eval-when-compile - (require 'url-handlers)) ;;;###autoload (defcustom dnd-protocol-alist @@ -198,6 +196,7 @@ Turns `url-handler-mode' on if not on before. The file is opened in the current window, or a new window if `dnd-open-file-other-window' is set. URI is the url for the file. ACTION is ignored." (progn + (require 'url-handlers) (or url-handler-mode (url-handler-mode)) (if dnd-open-file-other-window (find-file-other-window uri) -- 2.30.2